package com.example.event;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

/**
 * @author yexi
 */
@Slf4j
@Component
public class NotifyEventListener {

    @EventListener
    public void notify(Event event) {
        log.info("[事件已结束]订阅监听器监听到已完成事件:{}，即将进行后续扩展业务处理", event);
    }

}
